package com.lqq.eduorder.client;

import com.lqq.commonutils.vo.CourseOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient(name="service-edu")
public interface OrderCourseClient {
    //根据课程id返回课程信息
    @PostMapping("/eduservice/coursefront/getCourseInfoOrder/{courseId}")
    public CourseOrderVo getCourseInfoOrder(@PathVariable("courseId") String courseId);
}
